//
//  HomeViewController.m
//  CKApp
//
//  Created by CC on 2020/8/26.
//  Copyright © 2020 This Moment. All rights reserved.
//

#import "HomeViewController.h"
#import "LoginLogicController.h"
#import "LcLoadingIndicatorView.h"
#import "LcFoundation.h"
#import "LoginViewController.h"
#import "NowTabbar.h"
#import "PresentationModalContainer.h"
#import "PresentationModalController.h"
#import "Masonry.h"
#import "SeparatorCellData.h"
#import "AttributeStringCellData.h"
#import <YYModel/YYModel.h>
#import "NameCard.h"
#import "OnceLoginRequestData.h"

@interface HomeViewController ()
@end

@implementation HomeViewController

- (void)viewDidLoad {
  [super viewDidLoad];
}

- (IBAction)loginClicked:(id)sender {
  [[LoginLogicController sharedInstance] showVerifyOrLoginFromViewCtrl:self completeBlock:^(BOOL success) {
    
  }];
}

- (IBAction)stop:(id)sender {
  PresentationModalController* presentVC = [[PresentationModalController alloc] init];
  UIView* view = [[UIView alloc] init];
  view.backgroundColor = [UIColor redColor];
  UILabel* testLabel = [[UILabel alloc] init];
  [testLabel setLcFont:[LcFont wb24]];
  testLabel.text = @"自定义View测试";
  [view addSubview:testLabel];
  [testLabel mas_makeConstraints:^(MASConstraintMaker *make) {
    make.top.left.equalTo(view).offset(10.0);
  }];

  PresentationModalContainer* container = [[PresentationModalContainer alloc] initWithContainerView:view topLeftTitle:@"测试" containerViewHeight:400.0 limitContentHeight:-1];
  presentVC.panelContainer = container;
  [presentVC presentationModalShow:nil];


}

@end
